package com.ruoyi.finance.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/** 水单表：PaymentWaterReceipt，水单明细表： PaymentWaterReceiptVoucher*/
@TableName(value="tb_payment_water_receipt_voucher")
public class PaymentWaterReceiptVoucher {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id")
    private String id;


    /** 水单ID*/
    @TableField("water_receipt_id")
    private String waterReceiptId;

    /** 申请表ID*/
    @TableField("payment_voucher_id")
    private String paymentVoucherId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getWaterReceiptId() {
        return waterReceiptId;
    }

    public void setWaterReceiptId(String waterReceiptId) {
        this.waterReceiptId = waterReceiptId;
    }

    public String getPaymentVoucherId() {
        return paymentVoucherId;
    }

    public void setPaymentVoucherId(String paymentVoucherId) {
        this.paymentVoucherId = paymentVoucherId;
    }

    public PaymentWaterReceiptVoucher(String id, String waterReceiptId, String paymentVoucherId) {
        this.id = id;
        this.waterReceiptId = waterReceiptId;
        this.paymentVoucherId = paymentVoucherId;
    }

    @Override
    public String toString() {
        return "PaymentWaterReceiptVoucher{" +
                "id='" + id + '\'' +
                ", waterReceiptId='" + waterReceiptId + '\'' +
                ", paymentVoucherId='" + paymentVoucherId + '\'' +
                '}';
    }
}
